home *** CD-ROM | disk | FTP | other *** search
- Path: male.EBay.Sun.COM!sooraj!murali
- From: murali@sooraj.ebay.sun.com (Murali Chari)
- Newsgroups: comp.lang.c
- Subject: A question on for loop..
- Date: 7 Mar 1996 17:56:26 GMT
- Organization: Sun Microsystems Inc.
- Distribution: world
- Message-ID: <4hn80a$98q@male.EBay.Sun.COM>
- Reply-To: murali@sooraj.ebay.sun.com
- NNTP-Posting-Host: sooraj.ebay.sun.com
-
- Hi,
-
- In the following piece of code:
-
- for(i=0;i< 20; i++)
-
- {
-
-
-
- if(condition==FALSE)
- continue;
-
-
-
-
- }
-
- Let us assume i=10 before it entered the loop.
- The condition was false. So the continue statement
- got executed.
-
- Will control now go to the third statement in the for loop?
- i.e. will i be incremented by 1 and again tested for the condition?
-
- Thanx
-
- Murali
-
-